import NewLayout from '@/newlayout'

export const userRouterNewChildrenConfigTwo = [
  //配置顺企-管理员路由
  {
    path: '/',
    redirect: '/work',
  },
  {
    path: '/newhome',
    component: NewLayout,
    children: [{
      path: '/newhome',
      component: () =>
        import('@/views/administrators/newhome/newhome.vue'),
    }, ],
    hidden: true
  },
  {
    path: '/work',
    component: NewLayout,
    meta: {
      title: '工作',
      icon: '9'
    },
    children: [{
        path: '/work',
        component: () =>
          import('@/views/administrators/work/index.vue'),
        // meta: {title: '工作', icon: '9'},
      }, {
        path: '/workCompany',
        component: () =>
          import('@/views/administrators/work/workCompany.vue'),
        meta: {
          title: '企业排行榜',
          icon: '9'
        },
      }, {
        path: '/workWarning',
        component: () =>
          import('@/views/administrators/work/workWarning.vue'),
        meta: {
          title: '企业预警',
          icon: '9'
        },
      }, {
        path: '/workTobear',
        component: () =>
          import('@/views/administrators/work/workTobear.vue'),
        meta: {
          title: '企业分级管理',
          icon: '9'
        },
      }, {
        path: '/workFollow',
        component: () =>
          import('@/views/administrators/work/workFollow.vue'),
        meta: {
          title: '待跟进',
          icon: '9'
        },
      }, {
        path: '/workVisitTypeAdd',
        component: () =>
          import('@/views/administrators/work/workVisitTypeAdd.vue'),
        meta: { title: '新增走访跟进', icon: '9' },
      }, {
        path: '/workVisit',
        component: () =>
          import('@/views/administrators/work/workVisit.vue'),
        meta: {
          title: '走访跟进',
          icon: '9'
        },
      },
      {
        path: '/workVisit/details',
        component: () => import('@/views/administrators/work/components/litigation/details'),
        meta: {
          title: '诉讼详情',
          icon: '9'
        },
        hidden: true,
      },
      {
        path: '/workCalendar',
        component: () =>
          import('@/views/administrators/work/workCalendar.vue'),
        meta: {
          title: '走访记录',
          icon: '9'
        },
      }, {
        path: '/workWaitvisit',
        component: () =>
          import('@/views/administrators/work/workWaitvisit.vue'),
        meta: {
          title: '工作日历',
          icon: '9'
        },
      }, {
        path: '/workWaitvisit2',
        component: () =>
          import('@/views/administrators/work/workWaitvisit2.vue'),
        meta: {
          title: '走访记录',
          icon: '9'
        },
      }, {
        path: '/workWaitvisit3',
        component: () =>
          import('@/views/administrators/work/workWaitvisit3.vue'),
        meta: {
          title: '需求记录',
          icon: '9'
        },
      }, {
        path: '/addWaitvisit',
        component: () =>
          import('@/views/administrators/work/components/addWaitvisit.vue'),
        meta: {
          title: '发起待走访',
          icon: '9'
        },
      }, {
        path: '/workEnterprisevisit',
        component: () =>
          import('@/views/administrators/work/workEnterprisevisit.vue'),
        meta: {
          title: '企业走访',
          icon: '9'
        },
      },{
        path: '/workEnterprisevisitNew',
        component: () =>
          import('@/views/administrators/work/workEnterprisevisitNew.vue'),
        meta: { title: '企业信息', icon: '9' },
      },
      {
        path: '/companyDetails',
        component: () =>
          import('@/views/administrators/work/components/companyDetails.vue'),
        meta: {
          title: '公司管理',
          icon: '9'
        },
      }, {
        path: '/addDemand',
        component: () =>
          import('@/views/administrators/work/components/addDemand.vue'),
        meta: {
          title: '添加需求',
          icon: '9'
        },
      },
    ],
    hidden: true
  },
  {
    path: '/NewupPwd',
    is_admin_view: 0,
    component: NewLayout,
    children: [{
      path: '/NewupPwd',
      hidden: true,
      component: () => import('@/views/public/NewupPwd.vue'),
      meta: {
        title: '修改密码',
        icon: '11'
      },
    }, ]
  },

  {
    path: '/morePatents',
    component: () =>
      import('@/views/administrators/work/components/morePatents.vue'),
    meta: {
      title: '全部记录',
      icon: '9'
    },
  },
  {
    path: '/ranking',
    component: NewLayout,
    children: [{
      path: '/ranking',
      component: () =>
        import('@/views/administrators/ranking/ranking.vue'),
      meta: {
        title: '榜单',
        icon: '9'
      },
    }, ],
    hidden: true
  },
  {
    path: '/AdvancedSearchNew',
    component: NewLayout,
    children: [{
        path: '/AdvancedSearchNew',
        component: () => import('@/views/administrators/AdvancedSearch/AdvancedSearch.vue'),
        meta: {
          title: '检索',
          serve: false
        },
        hidden: true
      },
      {
        path: '/shundeSearchNew',
        component: () => import('@/views/administrators/dockingNew/docking.vue'),
        meta: {
          title: '检索',
          serve: false
        },
        hidden: true
      }
    ],
    hidden: true
  },
  {
    path: '/CompanyManagement',
    component: NewLayout,
    children: [
      {
        path: '/CompanyManagement',
        component: () => import('@/views/administrators/CompanyManagement/CompanyManagement.vue'),
        meta: { title: '企业', serve: false },
        hidden: true
      }
    ],
    hidden: true
  },
  {
    path: '/AdvancedData',
    component: NewLayout,
    children: [{
      path: '/AdvancedData',
      component: () => import('@/views/administrators/AdvancedSearch/AdvancedData.vue'),
      meta: {
        title: '专利详情',
        serve: false
      },
      hidden: true
    }],
    hidden: true
  },
  {
    path: '/adminLawNew',
    component: NewLayout,
    children: [{
      path: '/adminLawNew',
      component: () =>
        import('@/views/administrators/law/law.vue'),
      meta: {
        title: '法律事件',
        icon: '9'
      },
    }, ],
    hidden: true
  },
  {
    path: '/reportHonor',
    component: NewLayout,
    meta: {
      title: '首页',
      icon: '9'
    },
    children: [{
      path: '/reportHonor',
      component: () =>
        import('@/views/administrators/newhome/reportHonor.vue'),

    }, ],
    hidden: true
  },
  {
    path: '/honor',
    component: NewLayout,
    children: [{
      path: '/honor',
      component: () =>
        import('@/views/administrators/honor/honor.vue'),
      meta: {
        title: '企业荣誉',
        icon: '9'
      },
    }, ],
    hidden: true
  },
]
